package com.xiaowu.netmusic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaowu.netmusic.domain.po.Favorite;
import com.xiaowu.netmusic.domain.vo.SongVO;

import java.util.List;

public interface FavoriteService extends IService<Favorite> {

    boolean addFavorite(Long userId, Long songId);

    boolean removeFavorite(Long userId, Long songId);

    List<SongVO> getFavoriteSongs(Long userId);

    boolean isFavorite(Long userId, Long songId); // 可选：判断是否已收藏
}
